raar.agent.process
Interface RAWorldDependentProcess

All Known Implementing Classes:
RAFactory, RALightSensor, RAObjectSensor

public interface RAWorldDependentProcess

Processes that are sensitive to operation in a certain type of world implement this interface to indicate this dependence.


Field Summary
static java.lang.String NO_OBJECT_DEFINED
          No object defined.
 
Method Summary
 java.lang.String getProcessableName()
          Return the processable class (or object) name.
 boolean isProcessable(RAWorldObject obj)
          Return whether the object in question is processable by this process based on the current configuration.
 boolean isSuitable(RAWorldObject obj)
          Return whether the object in question is suitable for this process, i.e. processable either with the current or an other configuration.
 void setProcessableName(java.lang.String name)
          Set the processable class (or object) name.
 boolean usesClasses()
          Return whether this processes uses world classes (true) or objects (false).
 

Field Detail

NO_OBJECT_DEFINED

static final java.lang.String NO_OBJECT_DEFINED
No object defined.

See Also:
Constant Field Values
Method Detail

isSuitable

boolean isSuitable(RAWorldObject obj)
Return whether the object in question is suitable for this process, i.e. processable either with the current or an other configuration.


isProcessable

boolean isProcessable(RAWorldObject obj)
Return whether the object in question is processable by this process based on the current configuration. If it is processable, it must also be suitable.


usesClasses

boolean usesClasses()
Return whether this processes uses world classes (true) or objects (false).


getProcessableName

java.lang.String getProcessableName()
Return the processable class (or object) name.


setProcessableName

void setProcessableName(java.lang.String name)
Set the processable class (or object) name.